package com.eden.door.dynamic;import com.eden.door.entity.DoorAttr;import com.eden.door.entity.Formula ;import java.util.List ;import java.util.ArrayList ;public class FormulaImplpingkaimen2 extends Formula { private double neikuang = 0 ;  private double zongkuan = 0 ;  private double shangxiafang = 0 ;  private double boligao = 0 ;  private double kouban = 0 ;  private double bolikuan = 0 ;  private double zonggao = 0 ; @Override public List<DoorAttr> calculate(List<DoorAttr> doorAttrList) { 
			bolikuan = shangxiafang - 0.4
		 ; List<DoorAttr> rs = doorAttrList ;for(DoorAttr doorAttr : doorAttrList){  if(doorAttr.getCode().equals(neikuang)){ doorAttr.setValue(null) ; rs.add(doorAttr);  }  if(doorAttr.getCode().equals(shangxiafang)){ doorAttr.setValue(null) ; rs.add(doorAttr);  }  if(doorAttr.getCode().equals(boligao)){ doorAttr.setValue(null) ; rs.add(doorAttr);  }  if(doorAttr.getCode().equals(bolikuan)){ doorAttr.setValue(null) ; rs.add(doorAttr);  }  } return rs ; }}